public class Borrowing {
    
    private long loanNumber;
    private String borrowedBy;
    private String book;
    private int numberOfDaysBorrowed;
    private int numberOfDaysBorrowedAllowed;
    
    public Borrowing() {
    }

    public Borrowing(long loanNumber, String borrowedBy, String book, int numberOfDaysBorrowed, int numberOfDaysBorrowedAllowed) {
        this.loanNumber = loanNumber;
        this.borrowedBy = borrowedBy;
        this.book = book;
        this.numberOfDaysBorrowed = numberOfDaysBorrowed;
        this.numberOfDaysBorrowedAllowed = numberOfDaysBorrowedAllowed;
    }

    public long getLoanNumber() {
        return loanNumber;
    }

    public void setLoanNumber(long loanNumber) {
        this.loanNumber = loanNumber;
    }

    public String getBorrowedBy() {
        return borrowedBy;
    }

    public void setBorrowedBy(String borrowedBy) {
        this.borrowedBy = borrowedBy;
    }

    public String getBook() {
        return book;
    }

    public void setBook(String book) {
        this.book = book;
    }

    public int getNumberOfDaysBorrowed() {
        return numberOfDaysBorrowed;
    }

    public void setNumberOfDaysBorrowed(int numberOfDaysBorrowed) {
        this.numberOfDaysBorrowed = numberOfDaysBorrowed;
    }

    public int getNumberOfDaysBorrowedAllowed() {
        return numberOfDaysBorrowedAllowed;
    }

    public void setNumberOfDaysBorrowedAllowed(int numberOfDaysBorrowedAllowed) {
        this.numberOfDaysBorrowedAllowed = numberOfDaysBorrowedAllowed;
    }
    
}